package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ConstraintCheckTime {

    private int beginIndex;
    private int endIndex;
    private boolean deferred;
    private boolean immediate;

    public ConstraintCheckTime(int beginIndex,
                               int endIndex,
                               boolean deferred,
                               boolean immediate) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.deferred = deferred;
        this.immediate = immediate;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isDeferred() {
        return deferred;
    }

    public boolean isImmediate() {
        return immediate;
    }

}
